package com.hqyj.module.echarts.service.impl;

import com.hqyj.module.echarts.dao.UserLeaveInfoEchartsDao;
import com.hqyj.module.echarts.service.UserLeaveNumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：hyj
 * @description：userLeaveNumServiceImpl
 * @date ：2021/10/9 9:40
 */

@Service
public class UserLeaveNumServiceImpl implements UserLeaveNumService {

    @Autowired
    UserLeaveInfoEchartsDao userLeaveInfoEchartsDao;

    @Override
    public int selectLeaveNum(String userName) {
        return userLeaveInfoEchartsDao.selectLeaveNum(userName);
    }
}
